package com.fingard.dsp.bank.reqrespobj.elecbilltrans.detail;

import com.fingard.xml.XElement;

public class ReqB101BillApplySubmitDetail {
    //    流水号
    public String reqSeqID;
    //    票据类型
    public String billType;
    //    出票日 yyyy-MM-dd hh:mm:ss.s
    public String issDate;
    //    到期日
    public String dueDate;
    //    票据金额
    public String billAmt;
    //    票据币种
    public String billCur;

    //    转让标记 1-可再转让 2-不可再转让
    public String transFlag;
    //    出票人名称
    public String drawName;
    //    出票人帐号
    public String drawAct;
    //    出票人组织机构代码
    public String drawCode;
    //    出票人银行名称
    public String drawBnkName;

    //   出票人银行联行号
    public String drawBnkCode;

    //   出票人直联联行号
    public String dircDrawBnkCode;
    //    信用等级
    public String creditLv;
    //    评级机构
    public String gradeAgent;
    //    评级到期日
    public String gradeDueDate;
    //    承兑人名称
    public String accpName;

    //    承兑人组织机构代码
    public String accpCode;
    //    承兑人账号
    public String accpAct;
    //    承兑人银行名称
    public String accpBnkName;
    //    承兑人开户行行名
    public String accpBnkCode;
    //    承兑人与出票人是否同行 1-同行 2-不同行
    public String accpSameBnk;

    //    收款人名称
    public String payeeName;
    //    收款人账号
    public String payeeAct;
    //    收款人开户行行名
    public String payeeBnkName;
    //    收款人开户行行号
    public String payeeBnkCode;

    //    收款人直联行号
    public String dircPayeeBnkCode;
    //    收款人与出票人是否同行 1-同行 2-不同行
    public String payeeSameBnk;
    // 占用授信额度
    public String useCreditAmount;
    //    合同号
    public String contractNo;
    //    发票编号
    public String invoiceNo;
    //    备注
    public String memo;
    //    是否自动提示承兑 1 是 0 否
    public String autoPromptAccept;
    //     是否自动提示收票 1 是 0 否
    public String autoPromptReceipt;

    public String mustPay;

    //承兑网点号 - 承兑人银行
    public String acceptBranch;
    //收款人开户行城市名称
    public String recCityName;
    //保证金账户
    public String marginAcct;
    //手续费扣收账户
    public String commissionChargeAcct;
    //开票方式
    public String openBillType;
    //CreditBreedNo 占用授信品种编号
    public String creditBreedNo;
    //出票人开户行地址编号
    public String drawActArea;

    public String billId;

    public String busiNo;

    public XElement srcElement;

    public ReqB101BillApplySubmitDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        reqSeqID = srcElement.getSingleText("ReqSeqID");
        billId = srcElement.getSingleText("BillId");
        billCur = srcElement.getSingleText("BillCur");
        busiNo = srcElement.getSingleText("BusiNo");
        billType = srcElement.getSingleText("BillType");
        issDate = srcElement.getSingleText("IssDate");
        dueDate = srcElement.getSingleText("DueDate");
        billAmt = srcElement.getSingleText("BillAmt");

        transFlag = srcElement.getSingleText("TransFlag");
        drawName = srcElement.getSingleText("DrawName");
        drawAct = srcElement.getSingleText("DrawAct");
        drawCode = srcElement.getSingleText("DrawCode");
        drawBnkName = srcElement.getSingleText("DrawBnkName");

        drawBnkCode = srcElement.getSingleText("DrawBnkCode");
        dircDrawBnkCode = srcElement.getSingleText("DircDrawBnkCode");

        creditLv = srcElement.getSingleText("CreditLv");
        gradeAgent = srcElement.getSingleText("GradeAgent");
        gradeDueDate = srcElement.getSingleText("GradeDueDate");
        accpName = srcElement.getSingleText("AccpName");

        accpCode = srcElement.getSingleText("AccpCode");
        accpAct = srcElement.getSingleText("AccpAct");
        accpBnkName = srcElement.getSingleText("AccpBnkName");
        accpBnkCode = srcElement.getSingleText("AccpBnkCode");
        accpSameBnk = srcElement.getSingleText("AccpSameBnk");

        payeeName = srcElement.getSingleText("PayeeName");
        payeeAct = srcElement.getSingleText("PayeeAct");
        payeeBnkName = srcElement.getSingleText("PayeeBnkName");
        payeeBnkCode = srcElement.getSingleText("PayeeBnkCode");
        dircPayeeBnkCode = srcElement.getSingleText("DircPayeeBnkCode");
        payeeSameBnk = srcElement.getSingleText("PayeeSameBnk");

        useCreditAmount = srcElement.getSingleText("UseCreditAmount");
        contractNo = srcElement.getSingleText("ContractNo");
        invoiceNo = srcElement.getSingleText("InvoiceNo");
        memo = srcElement.getSingleText("Memo");
        autoPromptAccept = srcElement.getSingleText("AutoPromptAccept");
        autoPromptReceipt = srcElement.getSingleText("AutoPromptReceipt");
        mustPay = srcElement.getSingleText("MustPay");
        acceptBranch = srcElement.getSingleText("AcceptBranch");
        recCityName = srcElement.getSingleText("RecCityName");
        marginAcct = srcElement.getSingleText("MarginAcct");
        commissionChargeAcct = srcElement.getSingleText("CommissionChargeAcct");
        openBillType = srcElement.getSingleText("OpenBillType");
        creditBreedNo = srcElement.getSingleText("CreditBreedNo");
        drawActArea = srcElement.getSingleText("DrawActArea");
    }

}
